package cn.com.twoke.easyproject.modules.auth.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class UserLogoutEvent extends ApplicationEvent {

    private final long  loginUserId;

    private final String ipAddress;

    private final String ipRegion;

    public UserLogoutEvent(Object source, long loginUserId, String ipAddress, String ipRegion) {
        super(source);
        this.loginUserId = loginUserId;
        this.ipAddress = ipAddress;
        this.ipRegion = ipRegion;
    }
}
